const imports = import.meta.globEager('./businessComponents/**/*.vue')
export default {
  install(app) {
    for (const key in imports) {
      const component = imports[key]
      const name = key
        .replace('./businessComponents/', '')
        .replace('/index.vue', '')
      app.component(name, component.default)
    }
  }
}
